#include <wx/wx.h>

#include "gui.h"

class VCServerApp : public wxApp
{
public:
	virtual bool OnInit();
	virtual int OnExit();
};

IMPLEMENT_APP(VCServerApp);
DECLARE_APP(VCServerApp);

bool VCServerApp::OnInit()
{
	bool wxsOK = wxApp::OnInit();
	if (wxsOK)
	{
		wxInitAllImageHandlers();
		VCServerFrame * frame = new VCServerFrame(wxT("Voice chat server"));
		frame->Show();
	}
	return wxsOK;
}

int VCServerApp::OnExit()
{
	return wxApp::OnExit();
}

